 
import axios from 'axios';
 export function getToken(){
	return new Promise((resolve,reject) => {
		return  axios.get("http://huidoo.com.cn/utopia/upload/getUpToken.action").then(function(res){
			if(res.data[0].CODE=="8888"){
				resolve(res.data[0].data.token);
			}else{
				reject("网络错误")
			}
		})
	})					
}